//
//  AppDelegate.m
//  appTestDemo
//
//  Created by zengjia on 2020/12/16.
//

#import "AppDelegate.h"
#import "ViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
    self.window.rootViewController = [ViewController new];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    return YES;
}


- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options{
    NSLog(@"url1 = %@",url);
    self.infol = url.absoluteString;
    NSLog(@"test1");
    return  YES;
}

- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{
    NSLog(@"url = %@",url);
    NSLog(@"masrer = %@",url);

    self.infol = url.absoluteString;
    
    return  YES;
}
#pragma mark - UISceneSession lifecycle



@end
